Skip to content

docs: remote agent control spec (Astation v1)#4

Merged
guohai merged 1 commit into
mainfrom
docs/remote-agent-control-spec
May 29, 2026
Merged

docs: remote agent control spec (Astation v1)#4
guohai merged 1 commit into
mainfrom
docs/remote-agent-control-spec

Conversation

@guohai

@guohai guohai commented May 29, 2026

Copy link
Copy Markdown
Contributor

Summary

Adds the Astation-side v1 spec for remote agent control — driving a coding agent (Claude Code / Codex) running under atem from Astation (macOS) via text, voice, or control keys over the existing Astation↔atem channel.

docs/specs/2026-05-28-remote-agent-control-design.md (self-contained — no Atem repo needed to start):

  • Scope: v1 up-lane only (Astation sends input; no screen mirror — the user watches atem's terminal). Mobile + screen mirror are later phases.
  • Wire contract: new agentInput message ({agentId?, kind: "text"|"key", text?, key?}) wrapped in the existing relay envelope ({atem_id, payload}atem_id is the envelope's job, not the payload's).
  • Reuses what exists: transport/targeting (AstationHubManager.sendHandler / routeToFocusedAtem), voice (VoiceCodingManager + sendVoiceCommand, ConvoAI ASR), and AstationMessage plumbing.
  • New work (small): one agentInput case, a sendAgentText/sendAgentKey pair mirroring sendVoiceCommand, and a minimal control UI (text field + key bar; mic reused as-is).
  • Includes Astation implementation tasks, the Atem-side counterpart (for awareness), an acceptance test, and build/test commands.

Counterpart design lives in the Atem repo at designs/remote-agent-control.md; this spec is the authoritative wire contract both sides match.

Docs only — no code.

Generated with SMT smt@agora.build

Self-contained spec for v1 of driving a coding agent (claude/codex)
running under atem from Astation macOS, over the existing relay/direct
channel. Up-lane only: text / voice / keys → atem injects to the agent
PTV stdin; output watched in atem's terminal (no screen mirror).

Grounded in Astation's real code (AstationMessage, AstationHubManager
sendHandler + routeToFocusedAtem + relay envelope, VoiceCodingManager).
Defines the authoritative `agentInput` wire contract (atem_id = relay
envelope; payload = agentId + input) and the concrete v1 task list so a
fresh agent on the build/test Mac can start without the Atem repo.

🤖 Built with SMT <smt@agora.build>
@guohai guohai merged commit 72873dd into main May 29, 2026
6 checks passed
@guohai guohai deleted the docs/remote-agent-control-spec branch May 29, 2026 19:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant